package com.jdbc;

public class pet{
    private int id;
    private int host_id;
    private String name;
    private String type;
    private int age;
    private String gender;
    private double price;

    public pet(int id, int host_id, String name, String type, int age, String gender,int price) {
        this.id = id;
        this.host_id = host_id;
        this.name = name;
        this.type = type;
        this.age = age;
        this.gender = gender;
        this.price = price;
    }

    public pet() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }
    public double getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public int getHost_id() {
        return host_id;
    }

    public void setHost_id(int host_id) {
        this.host_id = host_id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    @Override
    public String toString() {
        return "Animals{" +
                "id=" + id +
                ", host_id=" + host_id +
                ", name='" + name + '\'' +
                ", type='" + type + '\'' +
                ", age=" + age +
                ", gender='" + gender + '\'' +
                ", price='" + price + '\'' +
                '}';
    }
}
